projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b9029f
)
docs: Add note about hot_x/y in gtk_drag_set_icon_surface()
author
Benjamin Otte
<otte@redhat.com>
Thu, 30 Sep 2010 11:54:20 +0000
(13:54 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 30 Sep 2010 11:55:10 +0000
(13:55 +0200)
gtk/gtkdnd.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd.c
b/gtk/gtkdnd.c
index 7ee489495d426bb259611b774a91a874c0ccef36..c7f470c4689f87635298259b814bf14085cef2d3 100644
(file)
--- a/
gtk/gtkdnd.c
+++ b/
gtk/gtkdnd.c
@@
-3248,6
+3248,11
@@
_gtk_cairo_surface_extents (cairo_surface_t *surface,
* Sets @surface as the icon for a given drag. GTK+ retains
* references for the arguments, and will release them when
* they are no longer needed.
+ *
+ * To position the surface realtive to the mouse, use
+ * cairo_surface_set_device_offset() on @usrface. The mouse
+ * cursor will be positioned at the (0,0) coordinate of the
+ * surface.
**/
void
gtk_drag_set_icon_surface (GdkDragContext *context,